package com.atguigu.boot.bean;

/**
 * @author anan
 * @create 2021-08-10 21:38
 */
public class Pet {
    private String name;

    @Override
    public String toString() {
        return "Pet{" +
                "name='" + name + '\'' +
                '}';
    }

    public Pet(String name) {
        this.name = name;
    }

    public Pet() {

    }

    public String getName() {

        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
